//
//  Base.cpp
//  Dungeons and Princesses
//
//  Created by John Grange on 10/16/11.
//  Copyright (c) 2011 SD Networks. All rights reserved.
//
//  Moved implimantions to .cpp , moved next_ID init to .cpp fix issues.

#include <iostream>
#include "Base.h"

Base::Base(std::string typeOfObject)
{
    objectType = typeOfObject;
    objectID = Base::next_user_id();

}				

// Empty constructor so that we can later set the infomration on reload from saved game
Base::Base() {
    
    
}

Base::~Base() {


}

int Base::getObjectID()const              // return the object objectID
{				
    return objectID;
}           

std::string Base::getDesc()const          // return the description
{			
    return description;
}

std::string Base::getObjectType()const    // return the object type
{
    return objectType;
}


void Base::setObjectID(int oID)         // set the object objectID
{
    objectID = oID;

}		
void Base::setDesc(std::string desc)    // set the description
{
    description = desc;

}
void Base::setObjectType(std::string newObjectType) // Set Object Type
{
    objectType = newObjectType;
}



// initialize static vars 
int Base::next_ID = 1000;
